package com.amado.course27.entity;
/**
 * 商品
 * @author Administrator
 *
 */
public class Goods {
	/**
	 * 商品CODE
	 */
	private String goodsCode;
	/**
	 * 商品名称 
	 */
	private String name;
	/**
	 * 分类
	 */
	private String catecode;
	/**
	 * 价格
	 */
	private Integer price;
	/**
	 * 卖家
	 */
	private String saler;
	/**
	 * 父节点
	 */
	private Goods parent;
	
	public String getGoodsCode() {
		return goodsCode;
	}
	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCatecode() {
		return catecode;
	}
	public void setCatecode(String catecode) {
		this.catecode = catecode;
	}
	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	public String getSaler() {
		return saler;
	}
	public void setSaler(String saler) {
		this.saler = saler;
	}
	public Goods() {

	}
	public Goods(String goodsCode, String name, String catecode, Integer price, String saler) {
		super();
		this.goodsCode = goodsCode;
		this.name = name;
		this.catecode = catecode;
		this.price = price;
		this.saler = saler;
	}
	@Override
	public String toString() {
		return "Goods [goodsCode=" + goodsCode + ", name=" + name + ", catecode=" + catecode + ", price=" + price
				+ ", saler=" + saler + "]";
	}
	
}
